
<div id="media_show">
    <div id="media_icon">
        <?php echo CHtml::image($model->mediaIconSource); ?>
    </div>
    <div id="media_infos">
        <h4 class="file_name">
            <?php echo CHtml::encode($model->file_name); ?>
            <span><?php echo CHtml::encode($model->file_extension); ?></span>
        </h4>
        <ul>
            <li>category: <?php echo CHtml::encode($model->category->name); ?></li>
            <li>size: <?php echo $model->fileSizeFormatKB; ?></li>
            <li>download: <?php echo CHtml::link('Begin Download', $this->createUrl('media/downloading', array('id' => $model->id))); ?></li>
            <li>create time: <?php echo date('Y-m-d H:m:s', $model->created); ?></li>
            <li>update time: <?php echo date('Y-m-d H:m:s', $model->updated); ?></li>
        </ul>
    </div>
    <div class="clearfix"></div>
</div>
